import $api from '../../utils/api.js'
var LoginAPI = {
	AccountLogin: '/login',
	User: '/users',
	PetList: '/petkinds'
}

export function accountLoginRequest(account) {
	return $api.post(LoginAPI.AccountLogin,account)
}

export function updateUserInfoRequest(params) {
	return $api.patch(LoginAPI.User, params)
}

export function getPetListRequest(userId) {
	return $api.get(LoginAPI.PetList, userId)
}